A woman has been sentenced to up to life in prison after she shot her husband four times and killed him in 2024.