The neutral -park switch is located on the tranny , where the shifter cable connects into the tranny its that way for all corollas even since the 80`s... The problem might also be in the shifter solenoid...You said, it only crancks when is running that tells me its in the interlock system not in your brake pads... hope this could help you...