IDK about bolt actual socket sizes required, but 8mm and 10mm are pretty common sizes used by Ford on these engines. When I changed my t-stat I found that to get at it I removed the small plastic engine cover, disconnected, unbolted and removed the throttle body. That gave me good access to the t-stat upper housing, which is held on with 3 bolts. I'd recommend you use a 1/4" ratchet and a long (4-5"?) 1/4" extension to access the associated bolts (4 for the throttle body and 3 for the upper t-stat housing).
After removing the upper housing the t-stat lifts out. There is a large rubber O-ring seal that you will need to replace with the t-stat. I don't recall if it goes under or over the t-stat, so take note of where the old O-ring is located.
After inserting the new t-stat and seal be careful not to over-tighten the 3 bolts that hold the cover on. There's a torque spec, but off hand I don't recall what it is, it's measured in inch pounds. If you over-tighten the bolts you can damage the housing.
FYI - The plastic t-stat housing used on these engines is problem prone (eventually leaking from multiple areas) OEM replacements are expensive and the lower piece is more difficult to replace than the t-stat itself. Many find that replacing the entire housing with a metal one is a good solution.