Welcome to JA.
Do you know the codes that are causing the light to come on now?
PO170 is fuel trim bank 1, p0773 is a shift solenoid circuit e is that correct because you said bank 2. Is the other code p0173 this is fuel trim bank 2? Here is a list of things to check for to diagnose the fuel trim fault. Most likely you have an air leak check all vaccum lines and the air intake make sure there are no leaks. It may be necessary to get a can of flammable brake clean and spray down the intake gaskets and vaccum lines with the car running to see if you hear the idle rev a little this indicates a leak. You could alos have an O2 sensor problem.