Is Ally Switch the same as baton pass?
No. Ally Switch allows for a Pokemon to switch places with the other Pokemon on your team in Double or Triple battles. It can't be used by the Pokemon in the middle for Triple Battles. Yeah... not that useful.