High NoX is from excessive combustion temperatures which normally occur under very lean conditions, like deceleration. The EGR is electrically controlled by the ECM through a relay, using vacuum to power it open. It allows exhaust gasses into the intake manifold to reduce these temperatures and, therefore, NoX.
Your engine may be running too lean or your EGR system is not functioning properly, is my guess.
I am travelling and away from my manuals, for code decoding and the procedures for a rather simple EGR valve test using a vacuum source. I would suspect applying vacuum directly to the EGR valve would noticeably change the idle speed.