99% of the time, it's malfunctioning due to a wiring harness issue underneath the cab where it goes to the engine compartment. Have a professional diagnosis performed. If High pressure fuel pump codes are valid, the cab will need to be removed from the chassis and repairs to the harness will be needed.
This, obviously, is not in any way a "do it yourself" repair...
RepairPal Certified shops can diagnose and repair your 2008 Ford E-350 Super Duty. They provide transparent pricing with a minimum 12-month or 12,000-mile warranty on repairs and services.