tbh I think it depends on the type of games you want to play!!
although like a suggestion if you want, if you enjoy also ds games you're able to play both ds and 3ds games on a 2ds, unless you're wanting the 3ds model wise which is super understandable!!
switch wise, the only downside I say it's prices...like the games are not exactly cheap, and some might ask for Nintendo online ( like splatoon for online gaming ), but if you're looking to play the games on switch it's super worth it, even with the switch 2 coming ( although I think you might be able to play the ones for 1 in 2? But it's pricier I think so in the end idk how worth it might be )
Either way, this is just my personal and probs unwanted opinion lol, as someone who had a Nintendo 2ds and currently owns a switch but I'd say for you to inform yourself on both and yeah choose according to your preferences and whatnot :D