People on Anc* seem to believe that this Thomas moved to Dalry in Scotland, so perhaps he is not the father of your James. The Dalry Thomas was indeed a blacksmith, so I'm not really sure. Dalry Thomas married an Agnes McGooken in Dalry in 1859, but these trees claim that she was his second wife, after the first Agnes (Armstrong) died?
Okay, I think maybe I have found more evidence to support this being incorrect.
We know from his marriage certificate to Agnes Armstrong that Thomas' residence was Lismenary (?) and that he was the son of James McGookin.
In 1894, the death of an 84-year-old James McGookin of Lismenary was registered by
Thomas McGookin, son of the deceased with the same place of abode. Thomas cannot be in Scotland if he was in Antrim in 1894, so he could certainly be the father of your James.
Queenie