ISTANBUL—Turkey’s President Recep Tayyip Erdogan said Tuesday that his country would ignore sanctions the U.S. introduced against Iran this week—a defiant tone that could complicate Ankara’s recent efforts to defuse tension with Washington.

Mr. Erdogan lashed out at the Trump administration, saying the U.S. sanctions risked disrupting the world order.

“We...