Jiangsu were placed second in the group after the third round.
Yerry Mina's header put Everton back in front on the stroke of halftime and James rounded off an excellent individual display with two second half goals.
As opposed to early sluggishness last game, Xinjiang heated up quickly into the game with a 10-0 surge on Shanghai's consecutive turnovers, before Bao Meng's jumper snapped Shanghai's scoring drought over six minutes. Xinjiang set up a 10-point cushion as the first quarter ran out.
Association president Fritz Keller demanded a series of victories to collect points helping to avoid relegation "as we can't afford to go down to a lower group."
"I'm very happy. It was a great match, I didn't make any mistakes. Casper is a really great player, very attractive to play, I think there were many good rallies, it was a good match from both of us," said the newly-crowned US open champion.
Rafael Nadal hits a return during the men's singles third round match against Italian Stefano Travaglia at French Open in Paris on Oct. 2, 2020. (Photo by Aurelien Morissard/Xinhua)
"We know that Shanghai boasts a quick pace and three-pointer shooting ability. We had a great defense and restrained the opponents' character today," said Xinjiang coach Gao Fengjuan.
Rennes kept its lead in the standings over Lille on goal difference, although its four-match winning streak ended with a 2-2 draw against second-from-bottom side Stade Reims.
In women's action, Petra Kvitova managed to return to the quarterfinals at Roland Garros for the first time since 2012 after a comfortable 6-2, 6-4 dismissal of China's Zhang Shuai in the opening match on Court Philippe-Chatrier on Monday.
With the result, Bayern Munich moves to the fourth position meanwhile Hertha Berlin suffered its second defeat to slip to the 13th position.
Han Peng's direct corner goal in the 47th minute and Temwa Chawinga's goal in the 81st minute helped Wuhan secure a 4-0 victory, despite a missed penalty by Beatriz Zaneratto Joao in the 78th minute.