A man accused of shooting two people in Malvern nearly two years ago was sentenced in Division II Circuit Court on Tuesday.