A month of joyrides in an allegedly stolen Range Rover has ended in a dramatic arrest at gunpoint in a McDonald's car park in Sydney’s west.