If it was fueling problem I would expect spluttering?
Maybe wrong but I would say it may be spark plug related.
1. Spark plugs may be bad even if they look good.
2. The gap may be wrong
Will run until it starts to get hot and boom your car cuts out.
It was running before so....