New Jersey had sued in an attempt to halt New York’s plan to charge motorists entering Manhattan’s busiest roadways.