A 14-year-old boy accused of shooting and killing a 17-year-old in Salt Lake City over the weekend has been arrested by police.