05 Hemi problems

What EGR code? Was it for a circuit malfunction? P0406 or P0404? Sometimes you can give the EGR unit/sensor a light whack or two and straighten them out temporarily.

Does the engine run rough when the revs are at 2500 and lower, or does it just cut out completely?