Commuters streaming into New York City on Monday endured long waits and crowded trains, giving the recovering transit system a stress test a week after Superstorm Sandy ravaged the eastern third of the country, with New York and New Jersey bearing the brunt of the destruction.