Former county sheriff charged with felonies