You can probably take the person who has been taking your money to court to try to get it back, but even if you have a written agreement with that person and the lease states no subletting, you may not be able to recoup your losses.
Contact your county court to see what your rights are. They will give you an idea of how to proceed. I am not an attorney and cannot legally advise you. This is the landlord tenant law as I understand it.
You also might try contact the state for subsidized housing. It sounds like you would qualify.
Finally, stay in the apartment as long as you can. An eviction typically takes a month or two, depending on the court's schedule. Save whatever money you can and wait for the notice to come. Once you are served, you can go to court to plea your case or wait for the sheriffs' office to give you notice with an eviction date.
Sorry to hear of your troubles. Feel free to reach out to me with any additional questions.
You might also try speaking with the landlord and trying to work something out. Try the County first.
If you require a rental in the Absecon area you can contact me.