ok, , 1st off, is this an MPI, or throttle body engine?
the AIC absolutely controls idles speed as another poster stated, " "The purpose of the IAC valve assembly is to control engine idle speed, while preventing stalls due to changes in engine load."
disconnect the throttle cable and let the plate close, what is the reading on the scan tool for the tps sensor? even if the engine stalls, you can read the values. compare your readings to the other engine.,
1) are they the same w./ KOEO? (key on engine off)
2) if the values differ much, with the engine off, open the throttle body butterfly and take a photo of the inner area, walls and plate. is that area dirty?
as kghost said, clean the throttlebody , clean the walls, the plate, top and bottom, and replace the muffler (small mesh block)
recheck the TPS value, did it get more in line with the good running engine?
next, if there was a vacuum leak it would cause the idle to be higher cause the idle speed is controlled by the amount of air coming in,. since it wont idle with the plate closed, there is obviously not enough air getting by the plate.
when the throttle linkage sits against the set screw (non adjustable on MPI engine) does the engine idle drop below 600RMPS then stall?
respond the this post and i will direct you on where to go from here.
oh, btw, the fact it runs fine off idle indicates the problem is in the idle circuit,
one other thing you can do is swap all the parts from the good engine to the other.
is the IAC a mecruiser part oo aftermarket?>
i have had a ton of problems with the aftermaket ones, even the ones from ford. ( this is a ford part repurposed for merc)