I’d say do an updated p-51.
P 47 would be better, with the radial engine for the pilot to hide behind. p-51 was better at speed and at altitude, but with an inline engine, a water filled radiator and liquid cooling, had much greater vulnerability.
“The P-47 was a 20mm sponge. It could take numerous cannon hits. I can attest to that.” Erich Hartmann, Luftwaffe
51’s didn’t like ground fire. You need a fast plane that can carry a load like a Corsair or a P-47. Skyraiders were a good choice. It’s has to fly faster than a DshK can be tracked on you.
Afghans popped SA-7’s at AC-130’s. You need to move fast and loiter a long time.