I had the exact same thing happen on my Charger. I thought the coil, wiring, and distributors at first but it turned out to be the ECU. Make sure the ECU has a good ground and then maybe pick up a cheap one for 15$ at a parts store if it still doesn't work.

Hope this saves you some aggrevation. BTW, my box passed all the "tests" that were in the Hayne's manual but was still bad. It's usually a good idea to have an extra ECU around anyways.