You are correct! You solved this problem by using the two conversion factors correctly. You also correctly calculated the molar mass of carbon dioxide.

220 mg x g/1000mg x mol/44g = 0.005 moles