Yes, a stranger can be a witness, but he/she must be carrying valid identity proof, ensuring that he/she is a citizen of India, an adult, and the consent to be a witness is not under any force or coercion.