It seems like Nintendo will still be producing Nintendo Switches in 2027 and beyond according to this news. Four million annually units is on their plans
"The factory will specialise in manufacturing and assembling electronic components and devices with an annual output of four million Nintendo Switch console sets, 30,000 air data sensors for unmanned aerial vehicles (UAVs), 30,000 UAV controllers, 60,000 UAV engine modules, and 60,000 UAV signaling and lighting systems
Under the plan, construction is slated to take place from January 2025 to June 2026, while equipment will be installed from July to September 2026. Foxconn plans to start trial production in October-December 2026 and put the project into operation in January 2027.
As reported by Financial Times, Nintendo makes almost all of its Switch consoles in China through several contract manufacturers, including Foxconn. Nintendo has been considering diversifying its China-heavy Switch production to Vietnam due to the US-China trade tensions since 2019."
https://vir.com.vn/nintendo-switch-to-be-produced-by-foxconn-in-vietnam-113032.html