The Dow Jones Industrial Average gained 193 points Thursday as markets ended a rollercoaster session in the green.