Egr can make rough running, its like a giant vac leak. They do go bad.
But by rough I mean grizzly bear under the hood rough ... not just a miss.

Any codes ?

After 2 egr valve replacements, mine still throws the SES light (32) when cold, but not hot. I did change the CTS, now I am going to try the IAT under the plenum. See what happens, just had plenum off, not motivated to do it anytime soon.