A 32-year-old Alabama man has been sentenced to 198 years in prison for a 2020 shooting that left two men dead.