The EGR itself is pretty easy....
find the end of the vac line that runs from the egr valve to the egr solenoid on the T-stat housing... engine off.
Get a small dental mirror (or mechanics that tilts/telescopes) and hold it so you can see under the egr valve bonnet. The valve should move freely with the least vacuum....you can suck on the hose enough to make the valve move. It don;t take much. If it moves, great. It should have a "bottom" so that you cannot keep ;pulling air.
If it is hard to move or stuck, it may need to be replaced. That bonnet is a big diaphram that multiplies the vac many times to increase its pulling power much like the brake booster...it'll move a lot and do a lot of work with little vacuum.
Now the solenoid...
99% of the time the vac source is bad...leaking or broken. This is "ported" vac thats only available at certain throttle positions so it must be plugged into the underside of the throttle body. The sticker on the radiator shroud shows the vac route.
IF you have to replace the EGR valve, be certain that you get the correct one. There are similar valves that operate differently. Positive back pressure and neg pressure. I think they used both over the yrs, so look at your specific yr model for the correct egr.
It might not hurt to get some throttle body or carb cleaner and spray it into the PCV hose with the engine running fast idle and into other places to clean out as much gunk as possible. Since the pcv and egr can cause a wet carbon build up inside the plenum and intake, that can add the the HC of the test result. The cleaner the intake the better/cleaner the burn. Use caution spraying so the MAF (if equipped) is not damaged. Personally, I would'nt spray the MAF to save my life. Too fragile, too expensive and too easy to work around it...The burn-off circuit takes care of the MAF housekeeping.