Smart Team System

What I want to do is create a team system using blueprints, with this what I need to happen is when a player dies the system makes them switch to the other team without the option of switching back unless a certain goal is achieved. As well I need to separate unique classes to each team. Any help would be appreciated, as well if anyone is working on a project of the FPS type I would certainly appreciate if I could watch and ask questions, especially in blueprints.