A Wisconsin pharmacist charged with spoiling hundreds of doses of COVID-19 vaccine has agreed to plead guilty in the case, federal prosecutors announced Tuesday.