There was a wire corrosion problem between the trans relay and the solenoid plug. Pull the plug at the trans and check to see if one terminal has 12 volts, and one terminal has 5 volts. (which terminals have which voltage depends on the year). If the 12 volts are missing, that power comes from the relay, if the 5 volts are missing, that comes from the ECM. The bad wire splice is near the top of the trans on the wires going to the solenoid plug, at the firewall.