@noiob oof
i had this problem for a while, and i discovered that a LAN adapter basically solved it (this is the only one the switch supports: https://www.amazon.com/Nintendo-Internet-Officially-Licensed-wii-u/dp/B01N6S068R)
my wifi is pretty reliable, but there was just something about it that would cause all kinds of online grief in splatoon