If you knew it wasn't running and bought the truck as is, I don't see a case for you.
The above answer, and any follow up comments or emails is for informational purposes only and not meant as legal advice.
It is doubtful that you have any recourse. Generally a sale of "as is where is" avoids any and all claims for defects later discovered. It is also likely to cost more than it is worth to pursue the matter any further. You might want to contact a NY attorney to see if any NY specific statutes might help you. (I am not licensed in NY.) All in all, you probably have a bad deal. Learn from it and don't let it happen again. Best of luck.
This answer was provided for general informational purposes only and is not an offer to represent you. You should not act, nor refrain from acting, based upon any information contained within this answer. Neither the information in this answer, nor your receipt of it, creates an attorney-client relationship.