Jonah Heim hit a tying solo home run in the ninth inning and Nathaniel Lowe had a go-ahead RBI single in the 10th, leading the Texas Rangers to a 3-2 victory over the Kansas City Royals on Sunday.