Hope Hicks, a close aide to President Trump who resigned nearly two years ago, will return to the White House in a new role, administration officials said Thursday.

Ms. Hicks, 31, worked on Mr. Trump’s 2016 campaign from its inception and followed him to the White House after he was elected, eventually becoming communications director. Her return will come as his re-election campaign intensifies and as his advisers say the superstitious president has talked about recreating some aspects of that first race.

Ms. Hicks’s title when she left belied her influence with Mr. Trump, who felt more personal comfort with her than with almost any other adviser. But on her return, she will report to Jared Kushner, the president’s son-in-law and senior adviser, and work with the White House political director, Brian Jack. Her title will be “counselor to the president.”

A senior administration official said that Ms. Hicks would work on projects that Mr. Kushner oversees, including the re-election campaign. She will not rejoin the communications office.