Teoscar Hernández and Max Muncy each hit home runs in the eighth inning to power the Dodgers to a 5-4 comeback win over the St. Louis Cardinals.