Two New York City public schools that share a building were closed Thursday after a student tested positive for the novel coronavirus, city officials said.

The two schools, in the Bronx, are the first public schools in the city to be shut over the outbreak. Mayor Bill de Blasio said in a statement that the schools, the Laboratory School of Finance and Technology and South Bronx Preparatory, would be shut for at least 24 hours.

Mr....