I would put my money on the crank sensor, but ignition modules are known to fail when they get hot, and work fine when not. Since it takes a varying amount of run time to get the thing to fail, diagnosis can be very frustrating. When the car is acting up, do you have spark? If you do, you can eliminate the crank sensor and Ign module ans should start looking at the fuel system again. If you don't have spark, then one of the two is your problem.