That’s easy. Don’t look like a young, middle eastern male.
That takes a lot of faith in the officer’s shoot/don’t shoot split-second decision-making skills. I’m not sure I’ve got that level of faith.