Makes no difference which wire goes to which post on the brake light switch. The switch simply connects the two pins to complete the circuit when the pedal is depressed.
This dimmer switch is the replacement type and yours may be different. The tang with two rivets should, however, be the power tang.


Larry