Running great one day and next it stalls every time I hit the gas too hard

Check for something shorting as the engine torques over?
That's a new one for me. What exactly would be shorting when the engine torques over? How would I test for that?