what makes me think is that I'm not any good with electrical stuff at all and I'm just guessing
It's an aftermarket Sony stereo, and it works fine at idle, then cuts out when I rev the engine, I assumed it was getting some sort of spike causing it to shut down. It comes right back on if I take the car out of gear and coast in neutral.