What you should do next depends upon how much is involved. If it is an amount within the jurisdiction of the New Jersey Small Claims court http://www.judiciary.state.nj.us/prose/10290_small_claims.pdf ($3,000), then sue the bank in or the preparer in Small Claims court. If it is less than $15,000 go to the regular Special Civil Part. If it is more than that hire an attorney.
You are vague about whether the person was someone you have some sort of relationship with. If you deliberately had the money deposited in the account of someone you know, that is different than if you put in a digit wrong and it went to some random person. The fact that the police would not get involved tells me this is something likely deliberate on your part. Otherwise, insist on filing a complaint.
That being said, even if it were your error you could sue to recover the money on the theory of "unjust enrichment" - if the money wasn't given to someone with whom you generally share money and expenses. A difficult one to answer without all the facts of specifically whom you gave the money to.
This should not be considered legal advice and is intended for educational purposes only. It does not constitute a contract for legal services between any parties. Answers are given to questions for which there may be additional facts not mentioned which might change the legal issues or consequences.
There are two possible ways for the refund to go into someone else's account either the account and/or bank information was wrong on your tax return or the IRS entered the information wrong. If it was the IRS then you are entitled to get the refund from them because they did not put the refund in the account that you gave to them. If it is entered wrong on your return, then either it is the preparers fault for entering it wrong or your fault for not making sure it was correct before you signed the return.