Lets get this right your bike is around 2010 model, you have replaced the rear brake light switch, the pressure switch by the master cylinder.
You are making substitutions and assumptions, let me make a suggestion, before you start to dismantle and replace any more things your bike is capable of displaying Diagnostic Trouble Codes to help identify and help locate faults.
You do not need any diagnostic tools it will display the codes on the Speedometer. (See attachment)
I know on later bikes there are separate DTC for both the front Brake & rear light switch sticking on, this may not apply to yours though!
Now I am assuming you do not have ABS as you have changed your pressure, switch either way, the easiest way to check if the rear switch is sticking on when the Brake light is illuminated is to take one of the wires off the spade connection to brake switch, you open the circuit, if the light goes off, the switch is stuck!
Also do not overlook the brake light is operated by a relay which also can be an issue here, I seem to remember this is one of two relays in the fuse area that are the same so you can swap them over to see if it is faulty. (see below)
Remember start simple , run the checks rule out the easy stuff before dismantling things!