Hello, if this is the electric motor driven 4 wheel drive system with the switch to engage it, there could be a concern with the power to the motor or the motor itself. Testing is needed.
RepairPal Certified shops can diagnose and repair your 1999 Ford F-250. They provide transparent pricing with a minimum 12-month or 12,000-mile warranty on repairs and services.