To AirDrop a stranger, you set your AirDrop settings as available to everyone. The stranger must have set theirs to the same settings. Then you can send a file to the stranger.