Less than a week after he said he would not be “doing any more Fox shows for the foreseeable future,” Donald J. Trump is set to appear Tuesday night on the network’s “The O’Reilly Factor,” the network confirmed.

Fox News canceled Mr. Trump’s appearance on “The O’Reilly Factor” last week after Mr. Trump began publicly criticizing the network. Mr. Trump, meanwhile, took to Twitter to declare his boycott.