The woman who shot and killed her terminally ill husband in a hospital in 2023 was sentenced Friday after pleading no contest.