A man has admitted failing to stop at the scene of a crash which claimed the life of a six-year-old boy.