Riley Greene and Javier Báez homered in a four-run sixth inning and the Detroit Tigers kept their season alive.