I have a 2004 Nissan sentra and its stuck in park. on 2004 Nissan Sentra

I pushed the over ride button down and it comes out of park but when I put it back into park it gets stuck again. My break light are on. I have bot checked my fuses yet. Does anyone know what it could be?

Asked by for the 2004 Nissan Sentra
Yep. Your brake light switch on the brake pedal is broken. It has two functions. Operated your brake lights. And tells the computer that you have your foot on the brake pedal, which in turn unlocks the gear shift.