Hesitation in 1999 Dodge Ram 4x4

This truck runs fine for weeks at a time then out of the blue it will spit and sputter when I push the gas feed. It will do this a couple of times then go back to running ok. It is such a day by day thing. Please help.

Depending on the mileage, most likely it is a throttle position sensor gone bad or a problem in the fuel system (weak pump/resticted filter). Scan for codes and report back.