When the team switches roles, they should take less than 5 seconds. This quick transition ensures efficiency and maintains the effectiveness of the task, such as in CPR where prompt role switching helps prevent fatigue and ensures continuous high-quality care.