While driving driving this 88 Ranger sometimes there is a loss of power but when you give it gas it works it idles fine and starts right up everytime is there anything you should be checking?

The fuel sump, behind the pump on the left frame rail, probably has a faulty check valve. This problem is all over the net and people are begging for help. It's round and bolts to the frame. I bypassed it with two replacement tubes from Advance Auto Parts. They are about a foot long and come as a pair- 3/8 and 5/16 - about $18.00. They snap in the plastic lines to and from the fuel sump. Once I installed them I no longer had the "running out of gas" problem again. Two dealers and several garages couldn't figure out where the problem was.