Help with brake lights on 96 GMC jimmy?

The brake lights on a 96 Jimmy are operated by the brake light switch, mounted on the brake pedal assembly. If the switch is bad the lights could stay on or off, or be sporadic.