Remove the floor console and the connector(B) from the switch(A).
Inspect the continuity between (-) terminal 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.