President Donald Trump will recognize Jerusalem as Israel's capital Wednesday, upending decades of careful US policy and ignoring dire warnings of a historic misstep that could trigger a surge of violence in the Middle East.