The Dow Jones Industrial Average gained 534.75 points on Wednesday as major companies reported third-quarter earnings that exceeded analysts’ expectations.