Translation:I am a tourist and you are a policeman.
"Meg" means "and". It can be used interchangeably with "pedig". So if you omitted "meg", you would end up with "I am a tourist, you are a policeman", which I suppose could work, but maybe wouldn't flow quite as well. I suspect the Hungarian sentence wouldn't be OK without "meg" or "pedig" here.