Even as many of this year’s presidential candidates emphasized their independence from what they call special interests, Washington lobbyists are finding their way back inside the campaigns after being shut out by President Barack Obama.

Lobbyists and ex-lobbyists are donating money, serving as fundraisers and playing key roles in the political operations of campaigns in both parties.

Democratic...