Long enought, but forget to mention what kind of vehicle you have. Like makers of the car, model and year. We need all this info when asking.

I tried to understand your explaination the best I can and there's one thing came out in my mind. Again, this is only my 2 cents.

You can check the TCC solenoid is located in the transmission on the valve body. To verify that this is causing your problem, disconnect the four wire plug that plugs into the side of the transmission and drive the car. If your problem is cured, replace the solenoid.

Update us.