A Binghamton woman has been sentenced to from 25 years to life in prison for beating her 2-year-old son to death in 2010.