My daughter won’t sleep without being swaddled

Jordyn

My daughter is 4 months old, going to be 5 months on the 20th and she still needs to be swaddled and have motion to sleep. The doctors told me it’s time to get her out of both of those things and to just lay her in her crib and that she will cry it out and be fine. The other day I attempted that during nap time and she screamed for almost 45 mins. My daughter is technically supposed to be 3 months since she was a month early. Any suggestions would be helpful.