We need a little history of your car.
Did it run fine up until now, or has it sat for any length of time?
If it only started when you floored the gas pedal, this isn't an electrical problem.
If it has been sitting a while, I would say a clogged fuel filter, or crud in the carburetor. Maybe even stale gas.