I kept rams with purple passion danios w/o any problems. In a large enough tank I don't think it's an issue. If they shared the same area of the tank, I would say avoid it, but the danios will be up higher in the tank almost all the time so I wouldn't expect any issues.
I missed the shrimp on the list before. They may be able to survive long enough to reproduce if the tank is heavily planted, but often rams will hunt and peck them to death quickly. I wouldn't invest much into the shrimp.