This shows how to replace the entire valve body but you only need to read down to where it talks about replacing the individual shift solenoids ok.
Valve Body Removal Procedure
The electrical connectors locations are referenced by callouts (1) through (6).
Important: Lubricate all parts with Dexron®-VI automatic transmission fluid before installation.
Notice: Refer to Fastener Notice in the Preface section.
Tighten Tighten the bolts to 11 N·m (8 lb ft).
Important: It is recommended that the transmission adaptive pressure (TAP) information be reset.