To know for sure, you MUST compare the alternator part numbers. You can find the part number on the alternator itself (usually stamped on the casing) and look up the correct part number for the engine in your 2002 S10 Blazer using a parts website like AutoZone, Advance Auto Parts, or Napa Auto Parts. Then compare that number to the alternator you have from the 2000 Blazer.
If the part numbers match, or if a cross-reference shows they're interchangeable, they'll likely fit. If they don't match, they probably won't fit, even if the vehicles are similar.