Former House speaker Nancy Pelosi said Wednesday she will run to keep her job as the Democratic leader in the House after a pair of elections that kept the party in the minority there even as Democrats gained seats in the Senate and a second term for President Barack Obama.