Sounds like an earth wire is not making a good connection, so when brakes are used the return for the electricty goes through another light. Look at wiring at the back of car where the lights are see if there are any rusty connections
roger
January 2012