When you say the lights go dark or go off do you mean the breaker trips? If so, it sounds more like a short in your wiring and replacing the breaker or switch is not going to help. When you turn a circuit's breaker off nothing should be on not even dim. If it is a short you need to trace that down. I am not an electrician some of the other guys in here will be able to help you out better.