How do you know the switch is OK?
The switch is on the bracket above the pedal (#11). Then there's a button on the lever of the pedal (#17) - I bet that's what you found.

Check the switch itself by pushing it's button & watching to see if the brake lamps go out.