Lockheed Martin Corp. is in the final stages of negotiating a deal worth more than $37 billion to sell a record 440 F-35 fighter jets to a group of 11 nations, including the United States, two people familiar with the talks said.