Admittedly, the OP acknowledges this is AI. And as it turns out, its entirely wrong -- complete misinformation and thus should be deleted.
For starters, it should be noted that pursuant to provisions of the US Code, enacted in 1789, the job of swearing in each member of House at the beginning of their term in office is assigned to the Speaker. And the job of swearing in each member of the Senate at the beginning of their term in office is assigned to the Vice President.
Turning to the "historical precedents" described in the post -- they are totally off-base as a factual matter. First, John Quincy Adams, cited as having been sworn in by a judge in 1853, died in 1848, so it would have been difficult for him to take the oath of office from anyone. He did serve a partial term as a senator, having been elected in 1802; there is no record of anyone other than the presiding officer of the Senate having sworn him in. Second, William Howard Taft never served as a senator or member of the house, so he couldn't have been sworn in as a member of either body in 1908. And third, as a sitting Senator in 2007, having previously been elected to a six year term starting in 2004, Harry Reid didn't have to be, and wasn't sworn in during the opening session of the 110th Congress in 2007. He was sworn in by the presiding officer of the Senate, not a judge, at the start of each of his senate terms. For example, see the following page from the Congressional Record for the start of the 109th Congress in 2005: See https://www.congress.gov/109/crec/2005/01/04/CREC-2005-01-04-pt1-PgS4.pdf
In short, AI produced absolutely no accurate information on the subject of having a judge swear in a member of the House. As other posts have explained, the only occasions on which someone other that the Speaker has administered the oath of office to a newly elected House member involve situations in which the House, by a majority vote, adopted a resolution expressly authorizing the Speaker to deputize someone else to administer the oath.
See https://www.democraticunderground.com/?com=view_post&forum=1002&pid=20709495