From quis + -dam (indefinite adverbial suffix). Compare quondam (“at one time”).
Practice speaking and memorizing "quidam" and many other words and sentences in Latin.