In the largest financial penalty of its kind in the United States, drugmaker GlaxoSmithKline agreed to plead guilty to criminal charges and pay federal and state governments $3 billion to settle allegations related to inappropriate marketing of drugs, withholding of safety information, and failure to report accurate prices.