Am I decoding this right?

D - Series (model year) 1968

W - Assembled in Windsor, Ontario

340 - 340 CID

2286 - 10-31-1967 (1968 model year)

0346 346th engine assembled at the plant above on the date above.