Was not sure where to post this but this seemed like the right place. I had a check engine light come last week on my Ram and the codes were pcm p0052 and tcm p2704. I went ahead and bought a new O2 sensor to replace the passenger front sensor which was giving me the code. When I got under thruck to check the tranny wiring to see is anything was unpluged or if any wires were loose I did not find anything. So I figured I would fix one problem at a time. When I checked the O2 sensor three of the wires had torn on it some how. When I replaced the sensor and cleared the check engine light it also cleared the tranny error and it has not come back. Guess it was the O2 sensor causing both errors. Hope this helps some one else.