idle problem
not an expert but trying to help. did u do anything at all with the intake manifold, like pulling it apart, putting new gaskets or so during the swap?
if ur shure that ur maf is good, and u dont have any huge vaccum leak and iac valve is good, then;
i dont know about ur swap...