Synthesis of Switching Protocols from Temporal Logic Specifications