The Dynamics of the S&P 500 under a Crisis Context: Insights from a Three-Regime Switching Model