I don't know if the 4wd dipstick tube are a different length, no reason they need to be, I would GUESS they are the same, you can check ford part numbers that will tell you.
Yes 2wd sump on 4wd block need a 2wd dipstick + tube, as you will be using the 2wd oil pump with the 2wd sump.
tabetha