Rockstar's been working on it since at least GTA3 on some level. For that matter, Kojima's likely been working on DS2 since before DS on some level.
IIRC, TLOU2 contains a bunch of elements that Bruce Straley fought to keep out of TLOU.
Any sequel is generally going to have some aspects that arrived before they had a place to go.