94 5.2L Magnum running rough

Does it smooth out if you give it moderate throttle?
No, it runs rough off idle too.

Friend came over and threw a timing light on it and we noticed that the light would skip a flash occasionally. Then the engine just completely died a few times. He said the light shut off when the engine shut down. So we knew it was somewhere in the ignition. First I tried a spare crank sensor. (this was a used sensor that I can't verify is good, pulled it in the fall trying to chase down another problem) The car then ran smooth, but would shut down after a few minutes.
Then I tried jumping the ASD relay and the engine ran great. Put a new relay in and the engine is still randomly shutting down.

I'm starting to wonder if I have two bad crank sensors, but each one fails in a different way. In the fall, the car would randomly shut down. I replaced the crank sensor then and didn't have any issues until this one. But I didn't drive it because it was winter.

This is a tough one.