Does it stall immediatley after starting? Then after holding the throttle or driving for a while it idles fine?
The ecu needs a permament +12 source from the battery. If you wired in the constant +12 during the swap, you may have accidently cut the power source during your wiring cleanup.