You can clean the throttle position sensor by taking the throttle position sensor off and then using some carburetor cleaner to spray on the throttle position sensor and then use a clean piece of cloth to remove the dirt and grime from the throttle position sensor and be sure that the solvent has dried completely after cleaning the TPS before putting it back together.