Ford F250 stalls and sputters

1992 F250 truck with 158K miles dual fuel tanks. Loses power, sputters when accelerating or going uphill, runs rough, won’t stay running. Sometimes switching tanks solves problem. Sometimes just turning off A/C seems to help. It just started doing this. Normally runs fine. Seems like a fuel issue.

Check the fuel pump for pressure and volume.

Let me add that the fuel filter should be replaced as well.