"New fuel pump" - why did you replace it in the first place, did you obtain a new Ford pump assembly or an aftermarket one? Are you certain everything was installed properly? What's the position of the inertia switch?
RepairPal Certified shops can diagnose and repair your 1997 Ford F-150. They provide transparent pricing with a minimum 12-month or 12,000-mile warranty on repairs and services.