The filing in New York state court in Manhattan came just as the Republican National Convention began—and weeks after AG James went hard at Trump ally the NRA.