Alt+Z to take control of the player in the next slot, Alt+Shift+Z for the previous slot. This shouldn't require any mods, just the cheat code. The Change Player mod also has that functionality through Ctrl+Shift+L. (Ctrl+Shift+P for changing the civ or leader of the currently controlled player.) I don't know how to join another team with the current player.