Yan Gomes hit a tiebreaking, two-out single in the eighth inning and the playoff-contending Chicago Cubs beat the Detroit Tigers 6-4.