Does it crank over good and strong?? A weak battery will cause the computer too lose memory and cause that problem.Idles fine after a few minutes running because the computer has relearned idle.Clean the crude out of the iac port and the throttle body.Black stuff around the butterflies keeps the air out.it needs some.If all that is clean and still have problems there is a small idle stop srew.remove the factory cap, and you can turn it slightly.back side of throttle body,against the throttl shaft/linkage.If you need more than a half turn,Then you have more problems.Don't keep turning it too correct another problem.That will change the t.p.s. senor reading and will cause other problems.Stuck idle motor could also be a problem.Before you start guessing and throwing parts at it.CLEAN first.and check battery.