Whoa there, pardner.
Pelosi may be second in line to the OO based on the succession rules if both POTUS and VP are take out at the same time. BUT the 25th Amendment provides for Vice Presidential vacancies.
Nixon nominated Ford after Agnew resigned. The Senate and the House voted to confirm him, and that was that. Pelosi would not automatically ascend to anything.