There is no cheat to play as a police officer in GTA IV on Xbox 360 (or any platform). You are locked to Niko Bellic (and Johnny/Luis in DLC). The game does not support character switching or faction joining.
On Xbox 360, L.A. Noire and Sleeping Dogs are your best police fixes. GTA IV will never let you wear the badge.