Check, spark plug cables, sparks, restart the ecu, distributor...
when the car cuts off, can you start it again without problems??? if you do, so there is no electrical issue.
Then check inyectors, fuel filter, fuel bump.. try moving the car @ 5k rpm