Just over two weeks ago, New Rochelle, N.Y., had a busy shopping and dining district and a synagogue bustling with religious services and a bat mitzvah celebration.

Now this Westchester County suburb has become ground zero for one of the largest efforts in the country to contain the spread of the novel coronavirus.

Many residents are in...