A Hayward man is scheduled to appear in a San Francisco courtroom for a hit-and-run that critically injured a 9-year-old boy visiting from Philadelphia.