A NSW man has been charged after a federal politician allegedly received death threats at their office.