You can go ahead and check the fuel pressure, even if only to eliminate that as a problem. I somewhat doubt that's your problem as it would show up more as cruise speeds.
You may have a bad IAC ( idle air control) but try cleaning the throttle body first. Remove the intake snorkel, have someone hold the throttle wide open for you and scrub the back side of the throttle plate and surrounding bore with an old tooth brush and some carb cleaner. Be sure to spray some into the small holes next to the throttle plate. That should help stabilize the idle.
Also remove the EGR valve and see if the pintle is not closing due to a piece of carbon jamming it. Check the engine real good for any vacuum leaks. Listen for the hissing and you can use a can of carb cleaner to help look for leaks. Spray any suspect area's and listen for a change in engine pitch.