Quark and gluon form factors to four-loop order in QCD: The Nf3 contributions