Transmission won't shift into 3rd. But before this I had to get under the truck and giggle the wire plug into trans to get it to start on 2002 Dodge Ram 1500

Transmission wouldn't go into park or neutral to start. I tried to get the plug securely and it started good but now won't shift to high. What's up?

Asked by for the 2002 Dodge Ram 1500