Three biggest problems in order of occurance, Idle air control (clean/reset), Fuel pump, Fuel pressure regulator.
Fuel pump relay if on firewall is also problematic.
Address gas mileage first. Meaning find ignition miss if there, tune up, maybe distributor. A bit of diagnostic snooping in order to narrow focus such as codes and vacuum readings while driving, and vehicle specifics like how many miles? well maintained?
Fixing a 30 year old truck is no longer add a can of injector cleaner.