This is the brake light switch that mounts on the pedal housing.
I have accumulated (hoarded) close to 100 of them from core pedal sets I have bought.
The new cost is about $80 . They can crack around the ears. Get a spare at a cheap price.
Paypal or personal checks accepted.
Bruce