Marc Lloyd Williams has returned to Bangor City for his fifth separate spell with the Welsh Premier club.
Williams has scored 130 goals from 152 starts for Bangor
Williams, 33, left TNS at the end of last season after failing to agree terms for a new contract.
The Welsh Premier's all-time leading scorer scored 34 goals in 33 games for the league champions last season.
Bangor have also re-signed 29-year-old midfielder Ricky Evans from Rhyl, who enjoyed two seasons at Farrar Road between 2002 and 2004.
Williams scored 21 league goals in his first season with Bangor in 1994-95, helping them to win the title for only the second time.
I've got a score to settle with TNS because they felt I wasn't good enough for their squad
He then tried his luck in professional football, with spells at Stockport County, Halifax and York City before re-joining Bangor in 2001.
He set a new league scoring record in the 2001-02 season with 47 goals, but left the club for English Conference side Southport in July 2002.
Bangor came calling again six months later, but he was put on the transfer list at the end of the season and joined Aberystwyth Town.
His 18 goals at Park Avenue in the 2003-4 season then convinced TNS to offer him a return to full-time football.
But despite scoring 76 goals in two seasons with the Llansantffraid-based club, Williams was offered reduced terms for the coming season and decided to look for another club.
He told BBC Wales Sport he wants to make TNS - who will host Bangor on 27 August in the secound round of Welsh Premier matches - rue the decision to let him leave.
"A lot people thought my best days were behind me when I joined TNS and I proved them wrong," Williams said.
"Now this season, I've got a score to settle with TNS because they felt I wasn't good enough for their squad.
"I think I could play professionally for another two seasons at least, so I'm looking forward to go back to TNS for our second game of the season."