Pakistan on Sunday elected Shehbaz Sharif as the country’s new prime minister, weeks after national elections that were marred by allegations of rigging and manipulation.