Understanding Mode Switching in Human-AI Collaboration: Behavioral Insights and Predictive Modeling