The Dow Jones industrial average rose 340 points, while the S&P 500 and the Nasdaq each gained more than 3%. The day’s gains put the S&P 500 on pace for its best month since 1974. The Dow is headed for its best month since 1987, and the Nasdaq is on track for its strongest month in a decade.