Police shot man with stun gun