Are you flying this route on two separate tickets? If yes, then better fly hand luggage only (it will be really tight), if it is on a single ticket then there is nothing to worry about. You check-in your luggage in Vilnius and it will be checked through all the way to New York and you will receive it there.