Brakelight Switch
WARNING: This page is about a different car, the 2002 Mazda 626 and 2001 Mazda 626. However, it is still accessible from the selected car via links, so may be relevant.
Brakelight switch delivers input signal to PCM, indicating vehicle braking. Brakelight switch is located on pedal support.