Aircraft was a piece of the puzzle, but not the whole enchilada.
What defeated the Japanese was technology.
Allies had standard semi-automatic rifles, the Japanese were still using the bolt action (and antiquated) Arisaka.
Allies had more and better machine guns.
Allies had flame-throwers.
Allies had more and better designed hand grenades.
Allies had proximity fuses in their AAA on board ships.
Allies had already pretty much broken the Japanese radio code.
Allies had reliable sources of raw materials and the technology to get them to manufacturers.
There's a lot more but the Japanese literaly thought that they could wage a war in the 1940's with 1920's and 1930's technology. The DID work some technology into their newer planes and ships but it was too little too late. They also ran out of experienced pilots by early 1944, some say even earlier.
It's hard to win any conflict in a great tank ---against an enemy that can easily fire on the fly as well as ID you with night vision if you have neither.
The sheer doggedness, loyalty, and tenacity of the Japanese soldier is what made up for many shortcomings in technology, but could never make up for the lack of technology versus the B-29 and an atomic bomb.