Yes, the ZF-5 from an F-Superduty (F-450) is a 4x4 transmission. The reason for the 4x4 transmission and driveline parking/emergency brake is the F-Superduty has a Dana 80 10 Lug rear axle with disk brakes. These axles and disk brakes have no provision for wheel mounted parking brakes, unlike the Sterling 10.50 Rear Disk axles in the 99+ SuperDuty trucks. To have a parking brake, Ford mounted the driveline brake you see to the transmission to serve this function. If you remove the driveline brake, the mounting surface that is left on the back of the transmission matches up to a transfer case. Many Medium-Duty trucks use a driveline brake, or some, like Rockwells have the brake mounted on the differential for a parking brake function.
Contrast, the above mentioned Sterling 10.50's in the 99+ F-250, and F-350 have rear disk brakes, however, inside the "hat" of the rotor, buy the hub, is a machined brake drum with a small set of brake shoes that serves as the parking/emergency brake system on these trucks. They are a 100% separate system with the exception of using the same brake rotor/drum combo. They do not use the caliper and screw in piston like many cars do.
Yes you can use this in your 2wd truck. You will just need to leave the brake installed to have a yoke to install the driveshaft. If you remove it, there is no way to connect a driveshaft. It woud not need to function as a brake, but there is some maintenance that need to be performed on them periodically because they do have bearings, and I believe do contain a bit of oil. Calvin (Towcat) is the one that knows about these brakes. He has run F-Superduty Carriers for years!!!!