you have a grounding issue going on..most likely in the brake circuit...start by checking all the bulbs sockets for corrosion/bad connection..then move your way up through the brake wiring ground connections....check the brake switch ground wire continuity also...