Nearly three years after Atlanta-based rapper Trouble was gunned down, a man pleaded guilty in a Rockdale County courtroom this week and was sentenced to prison, officials said.