Two adults have been sentenced in connection with a crash that led to the death of an 11-year-old boy nearly eight years ago.