Hello and thank you for using Just Answer
Most commonly these codes are caused by the speed sensors
there are also known issues with the connectors to the sensors
did you verify the readings from the input and output sensors with a scan tool?
if the reading of the sensors are showing good with a scan tool the transmission may have failed
click here for more information on testing speed sensors
click here for more information on testing for bad connector
click here for more information on transmission slippage causing codes
if the speed sensors are showing good on a scan tool your transmission is to blame.
let me know what you get for readings
you need to verify the readings of the sensors with a scan tool
you could have a bad connector or a problem in the harness
the nest step is to verify the sensor readings