First of all check the fluid level in the transmission and look for signs of a leakage at the transmission electrical connector located at the
EDIT right front corner of the transmission where the cable connects).
I suspect you have a leak at the transmission connector (the o-rings on the OEM connectors will ALL fail eventually). It is a $13.00 part. Low fluid level will trip the transmission into limp mode. Start with that and let us know what happens.