A Fort Hood noncommissioned officer was sentenced to 26 years in prison after he pleaded guilty to fatally shooting his wife.