It can be either of the two. Check all and then you can be sure. You say the truck keeps dying - is this to say it will run for a short time and then die? If so, then the fuel pump is able to supply fuel but the engine is not receiving enough to keep running. If the fuel pump was bad, the truck would not start. The fuel filter would be the primary suspect since a clogged filter will restrict the flow of fuel to the engine.
Could be a plugged up fuel filter.
possibly a bad cam sensor , i had problems with mine dying as well i replaced the cam sensor and have not had trouble since
A truck that keeps wanting to crash into things
A 2008 Ram truck was not built with a cabin filter.
It keeps the axle centered under the truck.
If the truck is equipped with a cabin filter, the filter may be plugged up with debris.
where is the fuel filter located on a 2002 Nissan frontier truck 4 cycle
The simplest and most likely solution is: change the fuel filter.
most likely the turbo charger (check air filter for blockage.
Your truck does not have a cabin filter.
Does not have a filter for you to change.
the oil filter on a 1994 Isuzu truck is located just below the a/c/ compressor, you will have to get under the truck from the front to see it.