Are the parts from a 2004 cavalier compatible with a 1998 cavalier?

Im no expert but I've worked on some Cavaliers and i have to say no

no. different platform and engine.