That rear brake switch, with the spring attached, should be adjustable so that the spring is tensioned correctly, and will pull the switch when rear brake pedal is pressed.
Here's a new spring listed on ebay, though you could probably find one matched closely enough to work by taking your...