Part of a Yorkshire road is to be shut for six months as the multi-billion-pound Transpennine Route Upgrade gathers pace.