A former New York foundry owner once popular with artists pleaded guilty Monday to charges that he tried to sell phony knockoffs of a sculpture of Jasper Johns’ classic 1960 “Flag” painting and the sculptures of two other artists, ending a weeklong trial that featured testimony by Johns.