why shifter will not let car go in gear when appling brake pedal. on 2000 Volkswagen Jetta

when applying brake pedal brake lights will not work and car will not go in gear. what part may not be working.

Asked by for the 2000 Volkswagen Jetta
Brake light switch at the brake pedal was a common failure, you need brake light switch input to allow the transmission to be removed from PARK position.