If you remove the sensor from the carb make sure you disconnect it at the plug also before you run the engine. Unbolting the sensor without unplugging it will cause the engine to run poorly.
Oh yes, if you unbolt and remove the sensor, and want to reinstall it expecting it to run again, it has to be calibrated to run properly. This link states how.
Throttle Position Sensor Adjustment