It would help if you can provide the specific codes. Please check/inspect the main plug going into the fusebox in the engine bay on the passenger side and also the connectors going into the TCM (transmission computer module). If you see any spotting or green residue on any of those plugs, that would indicate a poor connection. I would recommend using an electrical cleaner that can be purchased at any auto store and blast the corrosion from those pins on the computer and harness plugs.