Ranger 2.8l engine ran a carburetor, so very low pressure in the fuel line near the exhaust and on top of engine.
And on hot days carb fuel line can get hot enough for the gasoline to start to vaporize, this stops the flow of fuel, like running out of gas, engine can even stall completely.
There are several "fixes" for Vapor Lock, including moving to a colder climate, lol.
You can insulate fuel line near exhaust, or put in a heat shield.
Old wooden clothes pins clamped on fuel lines act as heat sinks.
Adding an air defector to blow air on that area while driving
Google: Vapor Lock fix.
Long shot is carbs float bowl is getting too hot, gas is boiling inside, but intake has coolant circulating inside so you would see temp gauge climbing if that was happening
TFI ignition could also act up when hot, read here:
http://www.therangerstation.com/tech_library/TFI_Diagnostic.shtml
But that is usually an outright stall and a no start when hot.
And in the same vain the ignition coil can start acting up when very hot.
Good test for any of this is carrying a squirter bottle of water.
When engine acts up pull over and pop the hood, spray water on 1 part only, and if cooling it off helped, then that's the problem part/line, if not squirt next part