A man is due to appear in court charged with the manslaughter of a teenage girl in Yorkshire.