Can you substitute bordeaux wine for burgundy wine in cooking?

Yes it is like switching form Cabernet to Pinot Noir