The former minority party leader in the state Assembly is facing a Democrat who gave up his teaching job to focus on his campaign.