2001 Ford Mustang brake light don't work when I push down on brake pedal?

So my 2001 mustang won't shift out of park because of brake lights. When I push the brake pedal the lights don't come on but when I push the brake switch up with my hands Manualy the brake lights come on? Any ideas why the switch is not working when I push the brakes and lights come on when I push it by hand?

The switch may be broken. Replace it and take a chance that it will fix it. Make sure to adjust it properly.

I suggest buying new lights or a new sensor