did you clean the throttle body they can get cruddy also, if you absolutely can't figure out the problem id suggest changing the intake manifold gaskets, throttle body gasket and the pcv plate, we are getting to the point every v8 that comes in the shop with a running problem gets it's intake system sealed up and it's cats checked for being plugged, we got bit in the ass by 3 e38s in a row, all pcv plates and or cats, all running bad in a totally different way, we've seen 4 or 5 different ways that the intake system can screw with the running and only about half throw a code and trigger a ce light
all america wants is cold beer warm cat and a place to take a poop with a door on it