A man has been charged with attempted murder after prosecutors say he intentionally crashed a car into a tree, leaving a young child critically injured and being flown to the hospital, in Waukegan.