I have had some trouble with my rear brake switch, finding at times that it was not actuating. It seemed from to stem from a bit of crap and corruption getting in and it needed periodic jiggling and fiddling.
It seemed a hydraulic brake switch might be a good cure, so I ordered up a K&S switch for $20.
This is what the switch looks like out of the box:
The stock connector is located just above the carburetor:
Removing the connector from the switch harness, I put it on the switch:
Installing it was simple, followed by a brake bleed. Got the boot settled down after the brake bleed:
This was a simple installation, except for hefting a full 10 gallon tank off of the bike.
Next time you pull your fuel line off, put a washer on the petcock tube; it makes it easier to remove, pushing it off instead of prying or pulling: