Former Shelton principal, BOE reach settlement after job switch