There are two questions, here, Economics and Operational Capability.
On the latter, the diesel has better low end torque that the gas engine and will likely get better mileage with fewer âadd onâ systems. Better mileage means fewer fuel stops. Simpler engines means few days in the shop. Etc.
Regarding Economics, the question is more complex. A big, gas engine like a Ford V-10, will give you single digit mpgs pulling anything. We had '99 Chevy K3500 gas (donât remember the size but they donât make it any more) that delivered 7 mpg towing if we were going downwind and down hill. With a 34 gallon fuel tank long trips were LONG.
But while fuel costs were high, maintenance costs were less so. Oil changes, filters, and other routine things were less money than for a comparable diesel. There was a BIG premium paid for the diesel, so there was that cost to be amortized. Some claim âdiesels run foreverâ while youâll likely need a rebuild on a big gas engine around the 150,000 mile point. The rebuild number is probably close in most cases; but light diesels in light trucks (and all one ton pickups are âlight trucksâ) are not Freightliners and they are NOT going to go a million miles between overhauls. For medium duty diesels the B-50 number (the point at which there is 50% chance of a major engine component failure) is 300,000 miles. The engines in this class of truck are a LOT heavier than anything in a one-ton so itâs likely that their number is significantly lower. Iâve tried researching it a couple of times and could find nothing definitive. Consumers Union does have numbers for half ton trucks, but anything above that they consider âcommercialâ and donât test or maintain statistics for it. The manufacturers likely know that number but never advertise it. That suggests to me that itâs not that high. If it were it would be a major selling point.
One point in favor of the pre-2010 diesels (the year the DEF system was mandated, IIRC) is that they hold their resale value in spades. My 2008 Chevy 3500HD right now stands at about 50% of itâs initial sticker price. Itâs low miles (under 100,000) but even the higher mileage vehicles are doing better than the post-2010 models. This was true for along time for the Fords with the 7.3L diesel for a long time, also. Those trucks are now quite long in the tooth so I donât know if they still have that premium resale value.
To do the job right you have to get out your yellow pad and do a detailed analysis of the economics of ownership. This has to include the direct and indirect costs of ownership (mileage, maintenance costs, depreciation, etc.) as well as the âadministrativeâ costs like insurance (higher value vehicles cost more to cover than lower ones), interest on loans (they cost more to buy), taxes and registration fees (some states consider them âcommercialâ and charge accordingly). etc.
Put another way, relative fuel economy is just a tiny sliver of the âissues pie.â 
G.
ETA: Two changes to the above.
First, mileage is 105,000+
Second, private party value is 60% of sticker; trade in is 50% of sticker.