The switch should be spring loaded so that it drops when the brake pedal is pushed. I would guess that is the problem with your switch.
Good luck
Jim