Too bad, that $40k truck simply doesn’t exist. Your options are a $65k
Light trucks in the US are subject to a 25% import tariff. That drives up their sticker price relative to other vehicles.
https://en.wikipedia.org/wiki/Chicken_tax
The Chicken Tax is a 25 percent tariff on light trucks (and originally on potato starch, dextrin, and brandy) imposed in 1964 by the United States under President Lyndon B. Johnson in response to tariffs placed by France and West Germany on importation of U.S. chicken.[1] The period from 1961 to 1964[2] of tensions and negotiations surrounding the issue was known as the "Chicken War", taking place at the height of Cold War politics.[3]
But I don't get this:
Meanwhile 2004 Rangers with 200k miles are solid gold on marketplace because you literally can’t buy them anymore.
It's not something that I've followed, but according to WP, it looks like Ford restarted production of the Ranger in 2019.
https://en.wikipedia.org/wiki/Ford_Ranger_%28Americas%29
That's apparently as a larger vehicle than it had been, albeit smaller than the F-150, but they also apparently started making a small pickup, the Maverick, as of 2022:
https://en.wikipedia.org/wiki/Ford_Maverick_%282022%29
If that meets what you're looking for and you haven't looked at the market in the last five years since those two vehicles came onto the market, Ford might be doing what you're wanting them to do.