How do you make a tag where it switches from team to team

What I mean by that is if there is two teams can make it so the first team is the taggers and the second team are the runners, and then in a minute it would switch so that the second team are the taggers and the first team are the runners.

team switcher device

have a timer aka counter count to one minute, then after that minute switch the team switch the tagging team to running team and running team to tagging team
1 minute, I will demonstrate

The timer:

then wire the timer to 2 tag zone