Gold prices hit a record $4,000 per troy ounce for the first time Tuesday after climbing 51% so far this year.