R.J.
The sleep aid in Tylenol PM is more commonly known Benadryl, an antihistamine (Diphenhydramine).
It's a q for your doc. You can just ring the office and the nurse should be able to tell you.
As a life long periodic insomniac I'll frequently take benadryl to reset my sleep schedule (since it only lasts for 4 hours, and you can "power" through it if you have to stay awake for some reason, and you can wake up and soothe nightmares of your little one, or realize that odd sound in your dream is the sound is the sound of the dog being sick...yikes...time to run him outside, and it's not addictive...all things other sleep aids DON'T have). I was so tired when I was pregnant though, it never came up.
If you haven't already though, you should get your legs checked for blood clots...and SERIOUSLY try sleeping with a pillow between your knees.
~R