I would reset all the codes by unplugging the battery for a few minutes, and see which code sets first.

Check that all the connectors are tight.

Check for vac leaks between upper and lower intake.

Check that egr gasket and egr nut are not leaking.

John C.