Check the breaker and be sure it is in the ON position. An electrical box (junction, switch, or outlet) is an enclosure that protects and contains wiring connections within a building structure. These enclosures are fundamental to electrical safety, acting as a barrier that prevents sparks or electrical arcing from reaching flammable wall materials like. In this video, we show you how to fix an electric box safely and effectively. From diagnosing common issues like loose wiring or damaged components to providing a step-by-step guide on the repair process, this tutorial is perfect for beginners and DIY enthusiasts. more In this. Answer: The best way to repair a broken electrical box is to replace it. Although some products are available that claim to restore the plastic threads, I have not tested them, so I cannot comment on their effectiveness.