Police said they were patrolling in a neighborhood when they saw a child running into the roadway from the front yard of a house and struck him