As young doctors training to be psychiatrists, Rita Morales and her co-residents at NewYork-Presbyterian/Columbia hospital filled many days counseling patients and managing their medications.

When coronavirus patients flooded in, the hospital said it needed a group of psychiatry residents to help care for the sickest of patients in the intensive-care unit.

“My...