A Little Reminiscent

A 7
K J 5
A 6 5
A Q 6 4 3
Q 10 6 K J 9 5
A 10 2 3
4 3 Q J 10 9 7 2
K J 10 7 5 9 8
8 4 3 2
Q 9 8 7 6 4
K 8 Contract: 4 hearts
2 Opening lead: J of clubs

This hand is awfully reminiscent of my "favorite" hand, the first one given under Counting Winners. Both were 4 heart contracts with four small cards in a side suit in the closed hand and a lead through an ace-queen opposite a singleton, where the finesse might well have been taken, not because we now know it'll work but because you'll still get your ace even if it doesn't. And both, not so incidentally could have been made even foregoing the finesse.
There are differences also, of course, and anyway, let's look at the hand and see what must be done. On the first hand, cited above, declarer was looking at 2 low diamonds and 4 trump in dummy opposite four low diamonds in the closed hand, and grandiloquently announced that he was drawing trump and conceding two diamonds. The problem was that hearts were 4-0 and he had no trump left in dummy after that spurious claim.
So let's look at the hand and see what declarer has to do. Diamonds are cool, and so are clubs even going up with the ace. Spades? Well, you win the first round and have no way of escaping a loser on the second, so the only point at issue is what about the last two? Since you've gotta lose one heart and one spade, whatever happens, you can't afford to lose both of the other two spades. They must go on a winner in dummy, or at least one of them must, and barring some luck in ruffing out the king of clubs, that winner in dummy must be a trump. You might also note, while you're at it, that a second ruff doesn't gain anything and doesn't lose anything. That's because you need both the K and J to draw trump. But you don't know trump are splitting 3-1, so it wouldn't be an absolute stupid play to take a second ruff if convenient.
In any event, the hand is a cakewalk for 4 even failing to take the club hook. Since the defense can lead ace and low in trump when they get the lead, you're going to need to lose a spade but quickly. If you lead a round of trump, winning (as this declarer did) and then another trump, POW! West leads a third round of trump and now you're going down. So cash the ace of spades and lose a spade and await developments. Unless the defense now cashes the ace and continues trump, you'll have ample opportunity to ruff twice in spades.
As mentioned above, you might as well, since you don't know trump aren't 2-2. As the cards lie, however, the second ruff establishes the 10 of hearts, but you still make your contract! You would on that line lose one spade and two hearts.
You must figure out what you're going to do with those last 2 little spades before you start drawing trump, okay?