its not always that easy my 95 new brake,blinker and headlight switch did nothing....the problem ended up being somewere's else,i ended up cutting a wire on the wiper stalk so that the blinkers still work. wire a power source to the brake switch,ran another wire to a set of indep. lights i had to fit into the taillight housings.
Stick with the switch if everything else is working and you didn't do any work prior to the failure.
First check is that the switch didn't fall off the bracket - that happens a lot.
Second, slip the switch off the bracket and push the button and manually open and close it.. If the brake light goes on and off, then likely it's just the fitting on the bracket.
also this has happened to me all i had to do was bend the little metal piece that has the button the brake pushed to turn the brake lights on back alil and then it was fine.