the brake light on the dash also refers to the electrical plug on the master cylinder,( if you have one), and also the electrical connecter on the brake proportioning valve. it could be the prop valve is bad or a connection came loose. I unhooked it once replacing a brake line and forgot to hook it back up took me 2 weeks to figure it out.