Jonah Heim hit two solo homers and rookie Jack Leiter allowed one run over five innings for his first big league win as the Texas Rangers beat the Boston Red Sox 4-1 on Friday night.