when you refer to the headlight switch, i assume you mean your taillights work. brake lights are separate. if all of the lights went south, there are a couple possibilities.
bulbs, the brake light switch, open power wire or ground. cant remember if brake lights have a fuse.
the brake switch (where i might start) is on the brake pedal arm. i would check to ensure you have power to it, and that when the switch is closed, there is power leaving it.
good luck.