Are Wukong and Yang Jian the same master?

No.

Wukong worshiped Patriarch Bodhi as his teacher and was named Sun Wukong. He learned the seventy-two transformations of the Earthly Demon, somersault clouds, immortality and other superb spells.

And Yang Jian is the apprentice of the real person Yuding of Jinxia Cave in Yuquan Mountain, and he is proficient in the Eight-Nine Mysterious Techniques.

Extended information:

Yang Jian, whose full name is Yinglie Zhaohui Qingyuan Miaodao Fu Ze Born from the union, they have infinite power and boundless magic.

He is a far-reaching and widespread Taoist deity in the Chinese folk god belief system. He is a well-known mythological figure in China. He has been featured in many religious classics, myths and legends, drama literature, and novels about gods and demons. He has appeared as a mighty and brave man who slayed monsters and monsters.

Reference: Baidu Encyclopedia_Yang Jian