From lower Manhattan to brownstone Brooklyn, events 6,000 miles away are consuming a Democratic congressional race.