US stock market hits record high after three-day lull