No fuel after start up

Did you replace all the old rubber hoses in the fuel supply line?

Also, remove the gas cap when it quits and see if it will restart and stay running.
I tried that also, replaced rubber hoses