Yes you will need to do a PCM re-pin.
(PCM Tune required also to fix cam mapping etc > 196331-18F150_5.0-GTcams-noscm)
I ordered the same long block for a 2018 F150.
Needed to swap oil filter...