Yeah. Your fuel trims are whacked. It's easy to knock a intake gasket out of place and cause issues. I would also make sure you have the O2 pins back in the correct locations. That could easily be causing the fuel trim numbers to be off. The transmission isn't slipping. It's hunting. It looks like the transmission is downshifting and upshifting at will. My first thought was the Throttle position sensor.