The Dow Jones Industrial Average rose by 350 points, and the S&P 500 index reached an intraday all-time high