A Raleigh man is set to spend the next 12 years in prison in connection to a 2023 shooting at a shopping complex along New Bern Avenue.