His typing. He said you'll have to wait for
@THEFERMANATOR, our transmission expert, to see he's been tagged and chime in on this thread. Do NOT just start throwing parts at it. Also, you do not have to hit the "Reply" any time you answer, as that quotes the previous person. Just go down to the box below this one and start typing.
What ak diesel was referring to about engine issues is this. If you have a bad engine temp sensor (not the gauge sensor) it will tell your Transmission Control Module (TCM) your engine is too cold and not allow it to stay in Overdrive.
Also, are these all new codes since the rebuilt tranny was installed? That is, did you clear them before the first test drive? Fresh codes are much more helpful than a bunch of stored ones from who knows when. You show a code for a bad O2 sensor in the exhaust and an issue with your spark timing. Transmission issues are the torque converter clutch (did you get a new torque converter in the rebuild, or did the shop reuse the old one?). The overdrive fault code could be several things that are preventing it from shifting into/staying in overdrive. The Solenoid B stuck on could be a couple of issues, from bad solenoid to pinched harness internally to bad pin connections in the main plug on the side of the transmission. The ratio error means that the output shaft isn't rotating the right number of times to the input shaft. That can be caused by internal slippage OR the wrong reluctor giving a false reading to the output shaft sensor and which could also be responsible for your whacky speedometer readings, and shifting issues.
Fresh codes are always a must. Also knowing what the shop did for the "rebuild" is a must, too, as I said above. There's a helluva difference between just slapping in a new set of steels and frictions and calling it "rebuilt" and doing a true rebuild and putting in a new torque converter, going through the valve body and upgrading all known weaknesses like the TCC actuator issues, check ball seat issues, new solenoids and solenoid wiring harness, new main wiring harness heavy duty sprag and drum, improved reverse band, etc. Did the shop do a static function test on the tranny after they were done, or did they just slap it together, called it good and send it out the door? I won't even get into the competency of the shop/technician doing the work.