The chances are slim the problem is in the switch. Disconnect the switch and using a test light or ohm meter, see if you get continuity from either terminal to ground. If so the switch is bad. If not the trouble can not be in the switch. If the switch was shorted your brake lights would just come on. It the switch is not shorted the problem must be beyond the switch.