SALEM — A Salem woman has been sentenced to more than two decades in prison in connection with the robbery of a local fast food restaurant.