The Tigers were trailing their division rivals 2-0 entering the ninth and facing Indians closer Chris Perez (4-2), but stunned the Tribe with four runs.
After Andy Dirks drew a walk, Avila drilled a pitch to the opposite field that cleared the left-field wall for a clutch, three-run shot.
Al Alburquerque (2-2) earned the win after retiring the final batter in the eighth and Joaquin Benoit notched his third save as the Tigers extended their American League Central lead over second-place Cleveland to four games.
Sign language interpreter at Mandela service called out as fake on Twitter
Puzzle-maker slips 'Murdoch Is Evil' into Rupert Murdoch's Sunday Telegraph