Proc Tal Rasha with Magic weapon?

I haven't played in a while so I'm a bit rusty. I've a vague idea that it's possible to proc Tal Rasha with Magic Weapon somehow, is that right?

It might have been something like you have to hit an enemy rather than just cast the spell or something, but I'm not being able to make it work.

Does anyone know if it's a thing or if I'm just being an idiot?

EDIT: Am I thinking of the armours because they won't proc tal rasha unless they hit an enemy. Or is it if I use magic weapon to ignite, it won't proc if the enemy dies instantly?