The Dow Jones Industrial Average and S&P 500 rose to new record highs Friday, as the Dow benefited from UnitedHealth Group’s stock pacing its largest single-day gain in nearly five years in the wake of Warren Buffett’s Berkshire Hathaway disclosing a stake in the beleaguered insurer.