No... different type of connector. The 240 MAF should have a connector that has a connector that is released by pushing down on a button. The N60 MAF has a connector that uses a metal bar to hold it in place, and you must remove the bar.
You should be able to use a MAF connector from any '95+ Nissan, since all Nissans went to the same style connector then. Sentra owners love S14 240SX MAFs because they don't have to change their MAF sensor connector at all... just grab one from a Sentra B14 ('95-'99).