The Dow Jones Industrial Average gained 492 points Tuesday as investors bought a dip in technology stocks.