No. John Wayne died in 1979—four decades before the 2019 war film Midway was released. The 2019 cast includes Ed Skrein, Patrick Wilson, Luke Evans, Aaron Eckhart, Woody Harrelson, Dennis Quaid, Mandy Moore, and Nick Jonas.
Wayne did star in the 1942 film Flying Tigers and other WWII-era movies, but he had no connection to Roland Emmerich's 2019 retelling of the Battle of Midway.