Wall Street is inching toward a historic milestone just as the ride is getting bumpier in the stock market.