Idle Control Valve or TPS sounds like it is sticking - located on the throttle body with 2 torx screws - remove and clean all areas with carb cleaner including butterfly valve. If not this, then probably a vacuum leak / cracked intake gaskets.