Harrison Hill / NYT Institute

Mike Gallagher, a Democratic congressional candidate, looked through stencils with his daughter, Catherine, 3, at his Washington Heights home on May 26. Mr. Gallagher has made his role as a stay-at-home father a central part of his campaign.