1998 Chevrolet S-10 Hard Shift TPS Code
So if the TPS code comes back, then this is most likely the cause of the current issue. Unfortunately, it is seen too many times that the code comes up for a sensor and the sensor is replaced over and over, and it doesn't fix it. This is because there are other causes of these codes then just the sensor. While the sensor is the most common cause of a lot of codes, it is not the sole cause. In general there is wiring or control modules as well. As you can see from the attachment there are various TPS codes related to circuit performance. Again this could be the sensor but not only the sensor.
If you can provide the code we can dig deeper in to the cause. However, I am confident that once the TPS code is fixed the harsh shifting will be repaired as well.
Suggested Repair
Diagnose the recurring TPS code as a circuit issue, including wiring, connectors, and the control module, rather than replacing the sensor again. Once the TPS signal is accurate, the harsh shifting should improve. Provide the exact code for further testing.
Conversation Summary
A 1998 Chevrolet S-10 with a 4.3 engine shifts harshly, sometimes acts as if the throttle is released, and keeps setting a TPS code. Fuel filter, TPS, MAP, and oxygen sensors were replaced and the transmission was flushed; a transmission specialist said the transmission was fine. An expert explained that the TPS is part of shift strategy, so an inaccurate signal can cause harsh, erratic, or delayed shifts, and that a returning code may be caused by wiring or a control module rather than the sensor alone.

