New Ignition coil, rotor, and distributor cap, but no spark. Need help.

if it was a ballast resistor, it would start and want to run, but as soon as you let go of the key to run position, it will die. are you getting spark out of the coil? the ground on an ecu is the box mounting.