The planned sentencing of former House Speaker Gordon Fox on Thursday marks the end of a federal investigation that led to the downfall of a man who became admired for his rise from working-class roots to arguably the most powerful person in Rhode Island government.