Got 2005 dodge ram 4.7 when driving it acts like you are giving it gas and letting off gas does real bad when going up a hill
MAP sensor, idle air control, throttle position sensor... are you getting a check engine light?
Yes but it's only showing egr
Idles fine just when driving it , it's like your pushing on gas peddle and letting off gas over and over
Sounds like a bad EGR then! If it is sticking open when it shouldn't be you can get symptoms like yours. It primarily opens when driving under no load or light load, and at higher speeds. Under load or slow speeds it should close. If it is sticking open then you get rough running, stalling, pinging, etc. A shop can test for a bad EGR.