Cops: Man pulls gun on McDonald's worker