Stocks jumped Friday, as investors looked to steer the S&P 500 away from official bear market territory following a week of heavy losses.