BRAKELIGHT Switch
WARNING: This page does not describe the selected car, but rather 6 other vehicles, including the 2002 Mazda Protege5, 2002 Mazda Protege, 2002 Mazda Millenia, 2002 Mazda MX-5 Miata, and 2002 Mazda MPV. However, it is still accessible from the selected car via links, so may be relevant.
Disconnect brakelight switch connector. Using ohmmeter, check continuity between brakelight switch terminals. With brake pedal released, continuity should not be present. With brake pedal depressed, continuity should be present. If continuity is not as specified, replace brakelight switch.