A small cargo plane crashed just feet from a home in southern New Hampshire Friday shortly after takeoff from Manchester-Boston Regional Airport, and the pilot survived.