Exiled former Pakistani Prime Minister Nawaz Sharif says he will challenge President Gen. Pervez Musharraf in elections this fall, even as Musharraf considers a power-sharing agreement with another rival that would have him stepping down as head of the army.