An upstate Democrat is launching a longshot write-in campaign to keep his job as prosecutor – bashing bail reform and…