Man dies after York City shooting, teenager injured: Police