He spent the latter part of the 2017–18 season on loan at Dundee, then moved to South African club Bidvest Wits in July 2018.
He returned to Scotland during 2020, when he signed for Queen's Park, with whom he would lead the side in back-to-back promotions and a rise to the Scottish Championship.
[9] Murray scored a hat-trick for United in their first home game of the 2016–17 season in a 6–1 win over Cowdenbeath in the group stages of the League Cup.
[9] United won the 2016–17 Scottish Challenge Cup and progressed to the Premiership play-off final, but lost 1–0 on aggregate to Hamilton.
[15] Hibernian sold Murray to South African club Bidvest Wits for an undisclosed fee in July 2018.
[21] He was then unavailable for much of the next six months with injury and the team struggled to win matches in his absence, drawing half of the 36 fixtures to finish in fourth place and reach the Scottish Championship play-offs.
On 15 May 2022, fit-again Murray scored the winning goal from the penalty spot during extra time in the second leg of the play-off final to defeat Airdrieonians (who had finished runners-up in the regular season, 21 points ahead of Queen's Park); this secured back-to-back promotions for the Spiders, meaning they would compete in the second tier of Scottish football for the first time in nearly forty years.
[23] On 7 January 2023, Murray would net 4 goals in a single game against Cove Rangers in a 0–6 away win which would open up a 4-point gap at the top of the Scottish Championship.
[26] Murray would score a key goal as well as netting in the penalty shoot-out to help County come back against Partick Thistle in the Premiership play-off final to keep them in the top flight.
[27] Murray would get the 2023–24 season started in style with a hat-trick away from home against Stranraer in the Scottish League Cup group stage.