OK here is a test you can do with the EGR VALVE; P1487
Unplug the connector, It has 6 conductors, lets label them as follows. The key point being the two from the center C & D, to ALL other points is 20 ohms on the AJ. 12-16 ohms on the I4.
Looking into connector, take 4 measurements:
With your DMM short the test leads together in the Ohms mode and you should get a reading of 0 to 1 ohm. If higher (1 - 5 ohms) subtract this from your reading taken on the solenoid(s).
C -> E = 20 ohms
C -> A = 20 ohms
D -> F = 20 ohms
D -> B = 20 ohms
Below 15 ohms or above 25 ohms, its defective. Also inspect all pin for damage on the connector and trace the wires as far you can for damage.
If this test good, the 4 leads on the outer corners go to the ECM. The 2 in the center go the the "main relay" so it says. Oddly enough, there is a relay called main in my 06.
You could pull the relay and ohm between the contacts to see if the connection from the body harness to the EGR is intact. Should read less than a couple ohms.
WITH THE RELAY OUT and looking into to the connector: It has s T shape.
A - X - E
X is not populated. Check email... All I have time for now...