The solenoid is located within the solenoid block assembly that is located in the pan next to the valve body, you will have to change the whole block.
Sometimes the P0720 code will set if the transmission does not move when in drive. The computer knows its in drive and you have released the brake and on the throttle, so when it doesn't see the speed sensor work it sets a code for the sensor.