Okay this is a lot, but its the best explanation I can give, please read!
I have a srange problem as well. I put a new throttle body on my X last night, and in order to do so, the stock air tube has to be removed from the stock tb. I removed it and moved it away from the engine, and the tube was moving electrical wires and the kkm hit the power distribution box a few times. I dont think this could've hurt the wires that much though.
When I was all done installing, I reconnected the stock tube and reconnected the ground terminal. I started the car to let it idle so the computer could relearn air/fuel requirements. I was going to take the X out for a spin to test out my new tb. I turned on the headlights and I noticed the volt gauge danced around a bit. It was very sensitive to any electrical fluctuations. I put on the brakes and the headlights flickered, and the engine rpm dipped a bit. I then put the X in Reverse, and then, the engine and the electrical system ENTIRELY shut down

. (The garage was dark and it was night outside so when everything went down, it was really dark, it was as if the power went out in a city

.) I turned the key again...nothing. Anyways, I opened the hood and wiggled the negative terminal, just slightly. There were a few sparks (like when you reconnect it) and the power came back on. I tightened it down just to be sure.
Next, I took a drive (everything was fine and normal), stopped by a friends house for a bit, and when I came home, the problem arrose again.

The volt gauge was extremely sensitive and responded to any electrical demand (brakes, shifting, headlights, steering, stereo).
A few months ago, I was having a problem with the alarm and electrical system acting up on me, but it wasnt quite like this. I just cleaned off a lot of corrosion and it was fine.
This time however, there isnt a lot of corrosion on the terminal, and I even installed some of those anti-corrosion spacers a few weeks ago. I just dont understand why it started messing up like this right after and not earlier that day before I had installed the new tb

. However, I'm 95% sure its gotta be a bad negative terminal, so I'm off to buy a new one...