If your machine came with a parts book the screw part number should be shown in the exploded parts diagram. If you don't have the book you could go to a sewing machine (industrial) supply company and tell them the machine model and they should be able to get you the screw.
They might have a minimum order. Its a good idea to have extra gib screws and spring screws around anyway.