not likely a fuel issue.
since it will run for a while normally first.

you probably have an ignition issue.
but you can test yourself, by manually using a lower gear so you have higher rpm than normal and try wot say in first gear. see if you still have it early before it heats up.
if it doesn't do it, then it isn't fuel.