On a 2.9, 4.0 and 3.0 the Ypipe-to-manifold bolts are 12mmX1.75 thread, not sure about the length.
the one problem with hardware or autoparts bolts is that they have a larger hex size than the factory ford bolts, typically the aftermarket bolts will have a fat 19mm head.
the Factory ford bolts have a 15mm integral washer type head.
I've used 3.0 bellhousing bolts for this task in the past.
These are usually easy to find UNDERNEATH a ford taurus
in the junkyard that SOMEONE ELSE has pulled the transmission out of.
(why work if you don't have to?)
AD