David Dahl and Ha-Seong Kim hit consecutive home runs in the bottom of the ninth inning to lift the San Diego Padres to a walk-off 5-4 victory against the Arizona Diamondbacks.