Air Force literally flew the wings off the AD Skyraiders in Vietnam. They inquired about restarting the production line, but the retooling costs and startup were prohibitive.
There was a history of that with Douglass products. Navy almost reverted to the SBD in WWII, and the AF also inquired about restarting the A-26 line a couple times.
Then look at the longevity of the A-4, which is still in service with a few countries. Top being Brazil, which operates them from it’s carrier.