P1740 code on 02 ram, help?

I don't know about your code but I had a diesel truck that wouldn't go in overdrive. It was a temperature sending unit on the cooler line. It won't allow the overdrive to engage until the fluid was up to temp. I replaced that sender and all was well