Major works on a busy Black Country town centre road will cause the route to be closed for five months affecting motorists and bus users.