Yes, but a deal would not be considered a "ruling". A ruling implies that a judge or jury has determined a settlement. A deal would mean that J&J has agreed to pay DECN a settlement on their own or through mediation.
To answer your question directly there would be a specific date you would need to own shares to be a part of a settlement. There's no way to determine that date though unless you are in those negotiations.