BAGHDAD—An Iraqi election to choose the country's next leader and help shape the U.S. role here for the next four years opened Thursday to deadly violence and fraud claims.

Early balloting began for hundreds of thousands of Iraqis, including police and military who will be on duty Sunday, the main voting day in Iraq's second general election since the ouster of Saddam Hussein.

The...