In an effort to recover from major financial losses sustained by controversy over its bestselling painkiller Vioxx, drugmaker Merck & Co. announced it would cut 7,000 jobs over the next three years and close five of its manufacturing plants.