Nathaniel T. Oaks is expected to plead guilty to federal corruption charges this morning in U.S. District Court in Baltimore, Judge Richard D. Bennett said — about two hours after Oaks formally resigned his Senate seat in the Maryland General Assembly.