Mamdani shifts power in NY Democrats