That is not the way to use switches.
When I say use switches, it means the global switches, not self-switches. Self-switches are best used when you want the event to act in one set of commands when you interact with it, then will act with a different set of commands when you next interact with it. Think of a lever as a simple example, when you first touch it, it will go up and the gate will open too. When you touch it next, the lever will go down and the gate will close. (This is just a very small and simple example of what self-switches can do. This sample uses only one Self-Switch).
Back on topic, the first suggestion I gave you was to use Switches.
I assume you already know how to add party members to your party.
- In the first party member's event box, add a command at or near the end with Control Switches : 1 set to ON.
- In the second party member's event box, add a command at or near the end with Control Switches : 2 set to ON.
Now, go to your map transfer event.
- In the first page, leave all Conditions unchecked.
- Add a Show Text command saying something like 'I cannot leave yet'.
- Create a new event page.
- Check the Conditions Switch 1 is ON.
- Check the Conditions Switch 2 is ON.
- Now input your transfer event in the contents box.
Do not hesitate to ask again if you are still having difficulty.
You should check out Andar's tutorial to help you familiarize with RPG Maker and game making in general.
http://forums.rpgmakerweb.com/index.php?showtopic=14727
Also try out the tutorials (also linked in Andar's thread) :
http://www.rpgmakerweb.com/support/products/tutorials