try disconnecting the battery for 20 mins, also with its disconnected clean your throttle body with approved intake throttle body/carb cleaner using a lint free rag, also make sure you clean your idle ports too. you make also have a bad throttle body assembly and or map sensor. but start with resting the computer by disconnecting it and cleaning the throttle body