Driver says he accidentally hit gas before hitting child