He and his legal team have repeatedly clashed with Judge Jackson, who will preside over his November trial. In February, she ordered him not to comment on his case or the special counsel’s work after he posted on Instagram a photo of her with an image of cross hairs. Taking the stand at that hearing, Mr. Stone said he was abjectly sorry and the victim of his own “stupidity.”

After she gave him a second chance, the judge said, Mr. Stone repeatedly took to Instagram to try to “gin up more public comment and controversy” about the Mueller inquiry, a related House committee investigation and his own prosecution.

She suggested that he or his lawyers were trying to manipulate the legal process to keep Mr. Stone in the public limelight. She also said they had misled her about the date of publication of his book, “The Myth of Russian Collusion: The Inside Story of How Donald Trump REALLY Won,” possibly to sell more copies.

But although the judge had previously threatened to send Mr. Stone to jail if he violated her order, she said that she feared that holding him in contempt would simply generate more publicity that could jeopardize a fair trial. Instead, she broadened her order to prohibit him from commenting on any subject on Facebook, Twitter or Instagram, including, she said, “forwarding, liking, reposting and retweeting anyone else’s posts or tweets.”

Mr. Stone was banned from Twitter in late 2017 for incendiary posts. But he is a prolific user of Instagram, where he has more than 50,000 followers and regularly posts with the hashtag #rogerstonedidnothingwrong.