Why are your 1997 Chevy blazer brakes not working while the upper roof tail light still works?

Usually this a faulty signal light switch. The Signal light switch disconects the brake light on the signaling side and makes it flash.