England great James Anderson will join County Cricket club Surrey for the 2027 season in the Rothesay County Championship.