As for the hand: yes, a 4S sacrifice is worth it on this deal at any vulnerability, as it can go down no more than 2 with the spades breaking 3-3 between N-S and the diamond suit running - losing 3 spades, the Ace of Hearts and Ace of Clubs. Of course that’s kind of magic (=unlikely), particularly the “3-3 spades” bit - with a six-card suit topped by T98 and a strong NT bidder on his right, there’s no sane reason East should ever think he could pull in the suit for 3 losers, not to mention assuming a side suit of AKQ-fifth would run (Jxxx or Txxx in either N/S hand would be enough to scotch it). On the other hand, if N/S are vulnerable and E/W are not, it may still be a good gamble because going down 3 is still worth it (-500 vs. -650).
However at rubber bridge sacrifices like this are generally frowned upon because you’re not competing with “the field result” but the table result, and (typically) for money. Unless you are sure N/S have an iron-clad contract, why would you intentionally go for -300 or -500 when you might in fact go plus by defeating the contract? As it is, declarer has to do two things: play trumps for no losers (remember to cash one high trump first to drop the singleton Queen), AND play the club suit for no losers.
E-W have to be careful with their discards. The “obvious” defense is AK of diamonds followed by another diamond, to avoid giving anything to North; East cannot afford to finesse a potential black-suit honor in West’s hand with a shift, and of course will not shift to a singleton Queen of trump that could be finessed into for a winner. Besides, with AKQ-fifth, it’s possible that West also has a doubleton diamond and that North started with 4 of them (though West’s discards on the first two diamonds would give count, high-low for even and low-high for odd, and a standard “4, then 9” pattern would have told him that West initially had 3 or 5 diamonds).
When South ruffs the diamond in dummy and West follows suit, North has quite a bit of information. It all boils down to playing the club suit right, so he plays everything but clubs: first, drawing trump in 4 rounds starting with one high honor (noting East’s singleton Queen), and then three rounds of spades (noting West’s singleton spade).
East must be alert and discard spades, not diamonds on the trumps or else North has the complete count of the hand. If he discards both his diamonds as “equally useless” as his spades, well, North will count West for 1 spade, 4 hearts, 3 diamonds (since all 13 diamonds are now accounted for) and therefore 5 clubs, placing East with only 1 club. The club suit is now easy to pick up, play one top Club honor in South and then finesse West if the stiff Queen hasn’t dropped.
If East discards just one diamond, either North can trust West’s count signal at trick 1 (usually very trustworthy) and count the hand out as above (i.e., trusting West to have shown 3 or 5 diamonds, but ruling 5 diamonds because East started with AKQx); or if West himself carelessly discards a diamond as “useless” on one of the spades.
If West discards two clubs on the spades, and East discards 3 spades on the trump, then North is faced with a guess for the queen of clubs.