Sounds like electrical gremlins which suck @$$ big time. Start by checking your grounds. Check the connections on the battery as well and make sure everything is tight.
I am confused when you said you hit a wrench from the brakes to the frame and it sparked. The brake wires to the frame?
How old is the battery? How is the alternator? Do you have an aftermarket stereo in there? I have seen so many of these hooked up wrong that will eventually drain the battery.
What else has been done to the electrical system? Trailer wiring, aftermarket fog lights, off road lights, stereo, amps, etc, etc.
So many questions for someone who is looking for answers!