A judge who sentenced Hoboken political hopeful Francis Raia to zero to six months behind bars on convictions for bribing voters misapplied the sentencing guidelines, a federal appeals court has ruled.