I was looking at 4f27e parts pricing last night for unexplained reasons.
You can get the A and B solenoids and a trans filter for $44 from lots of places.
Complete new solenoid kits were pricier, about $200 with the harness
Used, low mileage, re-manufactured valve bodies with all the solenoids run $85-100
When the 4f27e in my Focus starts shifting weird, I'll probably just shotgun a whole valve body at it.