Authorities say ballistics tests have linked a gun used to kill a Sumter man in April to the slaying of a pregnant teen last August.