To test the switch, disconnect the shift linkage at the lever on the transmission. Slide the lever all the way to the rear. That should be park. See if it starts now. If not, there is a problem with the switch or components inside the transmission. If it starts now, the shift linkage needs adjusting.