Minato's flying thunder god shouldn't be able to teleport to another dimension, but if it can then he can probably teleport to Naruto if he put his seal on him, or if kakashi is carrying the present Minato gave to him, or Minato/tobirama can use Tobirama's mark on Obito.
Also Perhaps if Minato and Tobirama combine their FTG abilities they might be able to teleport to a different dimension if there is a mark there, which is on Obito for sure.
Also if Naruto can summon, then he can summon the frogs who can in turn reverse summon Minato (though I don't know if contracts work with edos since they are technically dead)
These are the only 3 ways that I can think of if they were truly brought to another dimension, other than Kaguya bringing them there herself,.