after warm up it stalls have to use full throttle to start serges while driving on 1990 GMC S15 Jimmy

it acts if it is flooding can this also be the fuel pump? I was thinking throttle position sensor but not sure. It wont idle after it warms up. hold throttle to floor to restart smell gas. The serging is at any speed including highway.

Asked by for the 1990 GMC S15 Jimmy
look for any vacum leaks and you may have to check the compression cuold be head gasket leaking