My daughter and her cousin are unable to join each others worlds, they both have switches, both have single online Nintendo membership, both have Microsoft accounts, the world they create is a multiplayer world and we have tested out NAT types which are B.
they can see each other as both Nintendo friends and Microsoft friend but it doesn't allow them to join each other world just says after about 5 mins says something like connection timed out please try again later!
Related issues
Comments

Thank you for your report!
We're tracking this issue as MCPE-34846 so I've requested this report be resolved and linked as a duplicate.
If you would like to add a vote and any new information to the main ticket it would be appreciated.
Please search before creating a new ticket to see if your issue has already been reported.
Quick Links:
Issue Guidelines – Community Support – Customer Support – Game Wiki