what's causing the car to get stuck in park? on 2002 Nissan Sentra

the brake lights are working properly

Asked by for the 2002 Nissan Sentra
Could be an adjustment , faulty connection at shift-lock solenoid , Faulty shift-lock solenoid , or faulty PCM. Best to TEST input/wiring first. Is brake light switch 2 or 4 wire? Does cruise control work properly(if equipped)?