MacDonald walk-off single leads Wilcox to win