Merck & Co. will pay $671 million to settle claims it overcharged government health programs for four popular drugs and gave doctors fees and gifts to induce them to prescribe its drugs, U.S.