This depends. Some plumbers have the knowledge, training, and licensing to do certain electrical tasks, but others do not. In most cases, if the problem you’re dealing with is directly related to an electrical system, it’s best to hire an electrician.