A woman convicted in connection with a 2020 robbery that left a man shot in the face has been sentenced to 20 years in prison.