What were your numbers on the emissions test? If your O2 sensors and MAF are really gone (or non functional) the computer is probably in open loop mode (not getting any feedback from the sensors) and dumping in a little extra fuel as a failsafe. In this instance, your HC and possibly CO would probably be high, NOX would probably be low.
If you have an intake gasket issue, this would allow unmetered air into the engine and result in a lean condition. NOX would probably be high with low HC and CO. Likewise with the ERG, if it is failed or plugged it will show up as high NOX, too.
HTH - Post the actual #'s and limits if you can.
Good Luck
Corey