Had a similar problem with mine just before christmas and only just got it back on the road.
Changed fuel relay, ecu relay, no change, replaced the distributor and hey presto back in business.
Seems like there are plenty of reasons for it to cut out, depending on engine type, could be the coil pack, dizzy or crank angle sensor.
Good luck..