Does cps have the right to take a child away due to a tip from someone and without a court order?

Yes, if they find the environment to be unsuitable or the parent to be unfit. Final custody is determined by the court system, without further detail I can't tell you what to do from here. Maybe try asking a lawyer on