These last few days my brake light will flick on every once in awhile and sometimes not shut off for long periods of time

I thought maybe the sensor was bad on the e-brake but that's not it. I play with the ebrake at STOPS pumping it up and down and that isn't the fix. A few times the ABS light has come on after it's been on for a few. Anyone have a fix for this?
BTW - 93Si 4WS 80k Mileage.