Democratic attorneys general from states including New York, California, Illinois, New Jersey, Rhode Island and Massachusetts are moving to keep funds flowing to state governments and cities.