It’s possible that the valve body is the issue. In my experience, however, it’s more likely to be the torque converter.
An easy and cheap thing to try would be to swap the EDS 4 solenoid with one of the other three (identical) black-cap solenoids (labelled A, B & C in the photo above) and see if the fault moves with the solenoid.
I do re-manufacture valve body assemblies for the 5HP24, including fitting Sonnax valves where necessary, and then vacuum test and HydraTest them to ensure 100% electrical & hydraulic functionality. However, I’m in the UK. There must be places in the States that offer the same service.
https://www.youtube.com/watch?v=FU3KvO8zKlc
Phil