N.Y. Comp. Codes R. & Regs. tit. 21, § 5020.4
(c) A member who:
(3) is otherwise eligible to retire for disability pursuant to section 511 of the Education Law or section 605 of the Retirement and Social Security Law;
shall be eligible to have such optional allowance paid in lieu of any active service death benefit, notwithstanding the member's death before the retirement becomes effective, provided it is established the cause of the member's death is directly related to the member's physical or mental incapacitation.
(d) A member who:
(3) is otherwise eligible to retire for disability pursuant to section 511 of the Education Law or section 605 of the Retirement and Social Security Law;
shall be deemed to have simultaneously applied for disability retirement and shall be eligible to have such optional allowance paid in lieu of any active service death benefit, notwithstanding the member's death before the retirement becomes effective, provided it is established the cause of the member's death is directly related to the member's physical or mental incapacitation. Insofar as such application shall be deemed an application for disability retirement, such application for disability retirement shall be deemed canceled upon the member's retirement for service.