The stepper motor (primary) looks after your idle speed based on the input from the ECM which gets it's info from the TPS, MAP and several other sensors. With the stepper motor in place, your throttle doesn't park on a throttle stop screw but on the stepper motor which gives you a fast idle on start up and relatively steady idle speed around 900 rpms once warmed up. It will also try and maintain that idle speed when a slight load is sensed, say when in gear idling around without you opening the throttle. It is an electronic idle control servo trying to maintain a constant engine speed depending on engine temp. With it removed, you will have to set the throttle stop screw to the idle you want. You will also have to hold your throttle a bit when cold since the electronic fast idle isn't available.
I'm guessing the problem is either the TPS or Stepper motor with the TPS being the most probable item. Many more TPS sensors replaced than Stepper motors. The TPS can be checked with a voltmeter or an ohmmeter. Check YouTube for numerous ways to do this. Pretty well the same test procedure for most vehicles/cars.