If it's an actual Sawtooth (late 1999 PowerMac 3,1) then I'm not sure all the rear plastic parts line up correctly.
If it's the first-generation PCI PowerMac G4 (PowerMac 1,2) then you can swap everything over, even the logic boards.
My question is: why would you do that? Just sell the B&W and buy a G4.