Remove the floor console and the switch (B) from the connector (A).
Inspect the continuty between (-) termanal and the ground.
When the brake lever is pulled, there should be the continuity between them.
When the brake lever is released, there should be no continuity between them.