I find it hard to believe that Nintendo will provide much additional support for the Switch following 2024, especially knowing their track record. Times have changed, however, so I could very easily be wrong on this.
Consoles production will continue through 2027, if I were to guess.