Tail light/brake light

Have you looked under the dash. Bet when you press on brake pedal you are moving wires under the dash from the headlight switch.