Joseph Kennedy III is about to throw his hat into the race for a Massachusetts congressional seat, according to an anonymous member of his campaign. The grandson of the late Robert F. Kennedy will formally announce his bid on Thursday to take the place of retiring U.S. Rep. Barney Frank. During the New Hampshire primary last month, Kennedy announced that he was forming an exploratory committee to look for a seat in the Fourth Congressional District. He has since moved to Brookline, arranged fundraisers in Washington, and received several big union endorsements, including one on Tuesday from the Massachusetts AFL-CIO.