Is Tylenol pm safe to take?

Katie
So I have horrible insomnia and cannot sleep at all, is this considered a safe drug to take? Looking for something to help me sleep.