High NOx is usually EGR related. Mine failed similarly. I pull the headers (or manifold) cleaned and ported out the EGR passages, cleaned the EGR valve and made sure that was all working 100%. Then I backed the timing off 3-4 degrees for the retest, filled with premium gas and dropped my NOx from 2200 down to about 800.