Possibly a short or bad brake switch. You will need to do some electrical diagnosis to determine the cause. Witht the brake switch connector connected check for power out of the switch to determine if the switch is malfunctioning. If you have power in and out with pedal released switch is bad. Also check to be sure the switch is positioned correctly.
RepairPal Certified shops can diagnose and repair your 1992 GMC C2500. They provide transparent pricing with a minimum 12-month or 12,000-mile warranty on repairs and services.